package com.mrdeer.user.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/7 0007 13:44
 */
@Data
@TableName("authorization_role_privilege")
public class AuthorizationRolePrivilege implements Serializable {
    private static final long serialVersionUID = 4289229226687601680L;
    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 角色ID
     */
    @TableField("ROLE_ID")
    private Long roleId;
    /**
     * 权限ID
     */
    @TableField("PRIVILEGE_ID")
    private Long privilegeId;
}
